/*
 * @Descripttion: 审批流路由
 * @version:
 * @Author: 李越
 * @Date: 2022-06-04 10:18:18
 * @LastEditors: 李越
 * @LastEditTime: 2022-06-04 10:18:18
 */
export default [
	{
		path: '/',
		name: 'manage',
		component: () => import('@/views/common/home'),
		meta: {
			title: '首页',
			path: '/',
			show: false
		}
	},
	{
		path: '/errorInfo',
		name: 'errorInfo',
		component: () => import('@/views/common/errorInfo'),
		meta: {
			title: '错误分析',
			path: '/errorInfo',
			show: false
		}
	},
	{
		path: '/activiti',
		name: 'activiti',
		component: () => import('@/views/activiti/activiti'),
		meta: {
			title: '绘制审批',
			path: '/activiti',
			show: true
		}
	},
	{
		path: '/leaveAll',
		name: 'leaveAll',
		component: () => import('@/views/activiti/workflow/leave/leaveAll'),
		meta: {
			title: '审批',
			path: '/leaveAll',
			show: true
		}
	},
	{
		path: '/definition',
		name: 'definition',
		component: () => import('@/views/activiti/definition/index'),
		meta: {
			title: '流程定义',
			path: '/definition',
			show: true
		}
	},
	{
		path: '/task',
		name: 'task',
		component: () => import('@/views/activiti/task/index'),
		meta: {
			title: '待办',
			path: '/task',
			show: true
		}
	},
	{
		path: '/taskAll',
		name: 'taskAll',
		component: () => import('@/views/activiti/task/taskAll'),
		meta: {
			title: '全部待办',
			path: '/taskAll',
			show: true
		}
	},
	{
		path: '/leave',
		name: 'leave',
		component: () => import('@/views/activiti/workflow/leave/index'),
		meta: {
			title: '已完成',
			path: '/leave',
			show: true
		}
	},
	{
		path: '/done',
		name: 'done',
		component: () => import('@/views/activiti/workflow/leave/done'),
		meta: {
			title: '已办',
			path: '/done',
			show: true
		}
	},
	{
		path: '/activitiOrder',
		name: 'activitiOrder',
		component: () => import('@/views/activiti/order/detail'),
		meta: {
			title: '订单审批',
			path: '/activitiOrder',
			show: true
		}
	},
	{
		path: '/historyOrder',
		name: 'historyOrder',
		component: () => import('@/views/activiti/history/index'),
		meta: {
			title: '历史订单',
			path: '/historyOrder',
			show: true
		}
	},
	{
		path: "/supplier_activity_define",
		name: "supplier_activity_define",
		component: () => import('@/views/supplierActivity/definition/index'),
		meta: {
			title: '商品审批定义',
			path: '/supplier_activity_define',
			show: true
		}
	},
	{
		path: "/supplier_activiti",
		name: "supplier_activiti",
		component: () => import('@/views/supplierActivity/activity'),
		meta: {
			title: "绘制审批",
			path: "/supplier_activiti",
			show: false
		}
	},
	{
		path: "/supplier_activity_push",
		name: "supplier_activity_push",
		component: () => import("@/views/supplierActivity/task/push"),
		meta: {
			title: "提交商品",
			path: "/supplier_activity_push",
			show: true
		}
	},
	{
		path: "/supplier_activity_push_history",
		name: "supplier_activity_push_history",
		component: () => import("@/views/supplierActivity/task/pushHistory"),
		meta: {
			title: "提交记录",
			path: "/supplier_activity_push_history",
			show: true
		}
	},
	{
		path: "/supplier_activity_all",
		name: "supplier_activity_all",
		component: () => import("@/views/supplierActivity/task/taskAll"),
		meta: {
			title: "待办",
			path: "/supplier_activity_all",
			show: true
		}
	},
	{
		path: "/supplier_activity_history",
		name: "supplier_activity_history",
		component: () => import("@/views/supplierActivity/task/history"),
		meta: {
			title: "审批历史",
			path: "/supplier_activity_history",
			show: true
		}
	},
	{
		path: "/activitiorder_supplier",
		name: "activitiorder_supplier",
		component: () => import("@/views/supplierActivity/task/activitiorder"),
		meta: {
			title: "商品审批",
			path: "/activitiorder_supplier",
			show: true
		}
	},
	{
		path: "/activitiorder_supplier_list",
		name: "activitiorder_supplier_list",
		component: () => import("@/views/supplierActivity/task/activitiorderList"),
		meta: {
			title: "商品批量审批",
			path: "/activitiorder_supplier_list",
			show: true
		}
	},
	{
		path: "/supplier_activity_user",
		name: "supplier_activity_user",
		component: () => import("@/views/supplierActivity/user/supplierUser"),
		meta: {
			title: "供应商负责人",
			path: "/supplier_activity_user",
			show: true,
		}
	},
	{
		path: "/supplier_activity_category",
		name: "supplier_activity_category",
		component: () => import("@/views/supplierActivity/user/categoryUser"),
		meta: {
			title: "分类负责人",
			path: "/supplier_activity_category",
			show: true,
		}
	},
	{
		path: "/goods_item_all",
		name: "goods_item_all",
		component: () => import("@/views/supplierActivity/goods/all"),
		meta: {
			title: "已上架商品",
			path: "/goods_item_all",
			show: true
		}
	},
	{
		path: "/supplier_api_chick_page",
		name: "supplier_api_chick_page",
		component: () => import("@/views/supplier/check/api"),
		meta: {
			title: "电商接口检测",
			path: "/supplier_api_chick_page",
			show: true
		}
	},
	{
		path: "/supplier_goods_item_list",
		name: "supplier_goods_item_list",
		component: () => import("@/views/supplierActivity/goods/list"),
		meta: {
			title: "商品库",
			path: "/supplier_goods_item_list",
			show: true
		}
	}

]
